//
//  YWNoticeAndTempMissionCell.h
//  maintain
//
//  Created by 郑想 on 16/7/22.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import <UIKit/UIKit.h>
@class YWNotice;
@class YWTempMission;
@class YWattachment;

static NSString *const YWNoticeAndTempMissionCellIdentifier = @"YWNoticeAndTempMissionCellIdentifier";

@protocol YWNoticeAndTempMissionCellDelegate <NSObject>
-(void)handleExpandButton:(UITableViewCell*)cell;
-(void)showAttachment:(YWattachment*)attachment;
@end


@interface YWNoticeAndTempMissionCell : UITableViewCell

@property (nonatomic, strong) YWNotice *notice;
@property (nonatomic, strong) YWTempMission *tempMission;
@property (nonatomic, assign) BOOL showExpendBtn;
@property (nonatomic, weak) id<YWNoticeAndTempMissionCellDelegate> delegate;

+ (instancetype)cellWithTableView:(UITableView *)tableView;
@end
